package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 纸棺二维码打印记录表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "CoffinCodeEntity", name = "coffin_code", comment = "纸棺二维码打印记录表")
public class CoffinCodeEntity extends BaseEntity {
    /**
     * 服务项目外键
     */
    @MyColumn(value = "serviceItemId", name = "service_item_id", comment = "服务项目外键", required = true)
    private Integer serviceItemId;

    /**
     * 二维码
     */
    @MyColumn(value = "qrCode", name = "qr_code", comment = "二维码", required = true)
    private String qrCode;

    /**
     * 本次打印数量
     */
    @MyColumn(value = "printNumber", name = "print_number", comment = "本次打印数量", required = true)
    private Integer printNumber;

    /**
     * 剩余数量
     */
    @MyColumn(value = "leftNumber", name = "left_number", comment = "剩余数量", required = true)
    private Integer leftNumber;

    /**
     * 禁用状态
     */
    @MyColumn(value = "disableState", name = "disable_state", comment = "禁用状态", required = true)
    private Integer disableState;

    /**
     * 排序
     */
    @MyColumn(value = "sort", name = "sort", comment = "排序", required = true)
    private Integer sort;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public CoffinCodeEntity setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public String getQrCode() {
        return qrCode;
    }

    public CoffinCodeEntity setQrCode(String qrCode) {
        this.qrCode = qrCode;
        return this;
    }

    public Integer getPrintNumber() {
        return printNumber;
    }

    public CoffinCodeEntity setPrintNumber(Integer printNumber) {
        this.printNumber = printNumber;
        return this;
    }

    public Integer getLeftNumber() {
        return leftNumber;
    }

    public CoffinCodeEntity setLeftNumber(Integer leftNumber) {
        this.leftNumber = leftNumber;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public CoffinCodeEntity setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public CoffinCodeEntity setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public CoffinCodeEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}